.chat_top {
  width: 100%;
  height: 40px;
}

.chat_top > img {
  width: 30px;
  height: 30px;
  float: left;
  margin: 5px;
}

.chat_top > p {
  font-size: 14px;
  line-height: 40px;
  color: aliceblue;
  margin-top: 0;
}

.chatbox {
  width: 400px;
  height: 450px;
  position: relative;
}

.message-box {
  width: 300px;
  height: 370px;
  background-color: #f5f5f5;
}

.message-box .send-box {
  position: absolute;
  left: 0;
  display: flex;
  align-items: center;
  width: 300px;
  height: 100px;
  padding: 0 10px;
  box-sizing: border-box;
  background-color: #fff;
}

.message-box .send-box .send-input input {
  border: 25px;
  height: 40px;
  padding-left: 8px;
  font-size: 14px;
  border: 1px solid red;
  border-radius: 50px;
}

.message-box .send-box span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.message-box .send-box .img {
  flex-shrink: 0;
  text-align: center;
  line-height: 40px;
  width: 40px;
  height: 40px;
}

.message-box .send-box .face {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin: 0 4px;
}

.message-box .send-box .send-btn {
  background-color: #da2339;
  color: #fff;
  width: 46px;
  height: 40px;
  font-size: 12px;
  padding: 0;
  border-color: #da2339;
  border-radius: 10px;
  flex-shrink: 0;
}

.message-box .messagelist-box {
  width: 300px;
  height: 310px;
  overflow-y: scroll;
}

.message-box .messagelist-box .messagelist {
  display: flex;
  flex-direction: column;
}

.message-box .messagelist-box .messagelist .you-messageitem {
  display: flex;
  padding: 0 10px;
  margin-top: 14px;
}

.message-box .messagelist-box .messagelist .you-messageitem .customer-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-left: 10px;
}

.message-box .messagelist-box .messagelist .you-messageitem .customer-message {
  background-color: #fff;
  line-height: 20px;
  padding: 20px;
  margin: 10px 10px 0 3px;
  border-radius: 10px;
  border-bottom-left-radius: 0;
}

.message-box .messagelist-box .messagelist .me-messageitem {
  display: flex;
  padding: 0 10px;
  margin-top: 14px;
  flex-direction: row-reverse;
}

.message-box .messagelist-box .messagelist .me-messageitem .me-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-left: 10px;
}

.message-box .messagelist-box .messagelist .me-messageitem .me-message {
  background-color: #fff;
  line-height: 20px;
  padding: 20px;
  margin: 10px 10px 0 3px;
  border-radius: 10px;
  border-bottom-right-radius: 0;
}
